<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\facade\Route;

Route::domain('m',function (){
    Route::get('search-[:word]-[:page]','category/search');
    Route::get('category','index/category');
    Route::get('free-[:page]','category/free');
    Route::get('user','user/index');
    Route::post('send_code','login/send_code');
    Route::get('zy-:item_id','article/index');
    Route::post('download','index/download');
    Route::get('sitemap.xml','index/sitemap');
    Route::get('c-:top_id-[:sub_id]-[:page]','category/index');
});

return [];
